#Jordan Santell
#Matt Pinchin
#Aaron Chapin
#Bo Yan
#5/6/2011
#CS550

pager=more
ram=~kschmidt/bin/ram

.PHONY : view clean translate view-ral ram


view : programext.py interpreterext.py
	-$(pager) programext.py
	-$(pager) interpreterext.py

compile programlink.ral programop.ral programtrans.ral programlink.ral: programext.py interpreterext.py
	-python -W ignore::DeprecationWarning interpreterext.py
	
view-trans: programtrans.ral
	-$(pager) programtrans.ral

view-link: programlink.ral
	-$(pager) programlink.ral

view-op: programop.ral
	-$(pager) programop.ral

run: programlink.ral
	-$(ram) programlink.ral memory.ral

run-op: programop.ral
	-$(ram) programop.ral memory.ral

clean :
	-\rm parser.out
	-\rm parsetab.*
	-\rm programext.pyc
	-\rm *.ral
